package com.kcwl.carrier.domain.repository;

import com.kcwl.carrier.domain.entity.GroupMappingInfo;
import com.kcwl.carrier.infrastructure.repository.po.GroupMappingPO;
import com.kcwl.ddd.domain.repository.IBaseRepository;

import java.util.List;


public interface IGroupMappingRepository extends IBaseRepository<GroupMappingPO> {

    GroupMappingPO getMappingInfo(Long mappingId, Long groupId);

    /**
     *通过分组id和userId查询组映射信息
     */
    List<GroupMappingPO> queryByGroupIdAndUserId(Long groupId, Long userId);
}
